<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/','Home\VideoController@index');

//挂课时页面
Route::get('video','Home\VideoController@index');

//ssq输入页面
Route::get('ssq','Home\SsqController@index');
//dlt输入页面
Route::get('dlt','Home\DltController@index');


//挂课时处理
Route::post('video/handle','Home\VideoController@handle');

//ssq提交处理
Route::post('ssq/handle','Home\SsqController@handle');
//dlt提交处理
Route::post('dlt/handle','Home\DltController@handle');

//ssq提交copy处理
Route::match(['get', 'post'],'ssq/copy','Home\SsqController@copy');
